xfi:fact-footnotes

xs:string*=xfi:fact-footnotes( $fact as element(), $linkrole as xs:string?, $arcrole as xs:string?, $footnoterole as xs:string?, $lang as xs:string)

Last updated on 09-09-2010 at 00:00:00.

Returns strings containing the footnotes that has the specified link role, resource role, and language.

OIM Status

Unsupported

Parameters

Name Type Details
fact element() The fact (item or tuple) whose footnotes are to be found.
linkrole xs:string? The linkrole value that specifies the network of effective relationships of arcs in which to find the footnotes. If an empty sequence or empty string ("()" or "''") then the default link role is implied.
arcrole xs:string? The footnote arc role value that specifies the network of effective relationships of arcs in which to find the footnotes. If an empty sequence or empty string ("()" or "''") then the default footnote arcrole is used.
footnoterole xs:string? The footnote resource role value that is to be found. If omitted ("()" or "''") then the default footnote role is used.
lang xs:string The language code of the footnote to be retrieved. If a footnote with exact match is not found, a closest-sublanguage is returned, e.g., if the argument to $lang is en-UK and a footnote is present with en, it is returned.

Output

Type: xs:string*

Returns footnotes (if found) or an empty sequence (if none found).

Conformance suite

90506 xfi.fact-footnotes testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 01-09-2008 at 00:00:00

Revisions

Name On Details
Herm Fischer 12-12-2008 at 00:00:00 Created the function definition.
Herm Fischer 09-09-2010 at 00:00:00 Changed role URIs to strings for cast-less coding and to be similar to fn:QName's $paramURI, an xs:string.
Herm Fischer 16-10-2010 at 00:00:00 Incorporated feedback from Hitoshi Okumura, changed footnoterole and lang to string, and used same wording as xfi:concept-label for these parameters.
Herm Fischer 18-03-2011 at 09:00:00 Incorporated feedback from Hitoshi Okumura, removed optional instance parameter because a footnote is constrained by base spec to be in the same instance as the fact, and changed linkrole and arcrole parameters to allow either "()" or "''" to indicate default link role.